package kuzha.runtime;

import kuzha.KuzhaObject;
import kuzha.Utils;

public class KzNamedObject extends AbstractTable {
	public final String name;
	
	public KzNamedObject(String name) {
		super();
		this.name = name;
	}
	
	public KzNamedObject(String name, KuzhaObject _parent) {
		super(_parent);
		this.name = name;
	}
	
	@Override
	public String toString() {
		return name + "(" + Utils.getObjectId(this) + ")";
	}
}
